package com.yf.service.impl;

import com.yf.bean.*;
import com.yf.mapper.yfjxMapper;
import com.yf.service.yfjxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : hzyao
 * @date : 16:28 2020/10/7
 */
@Service
public class YfjxServiceImpl implements yfjxService {
    @Autowired
    private yfjxMapper yfmapper;
    @Override
    public List<yfjx8> getByLevel8(String ch8) {

        return yfmapper.getByLevel8(ch8);
    }

    @Override
    public yfjx8 getByLevel7(String lh8) {
        System.out.println("hhhhh");
           yfjx8 l =   yfmapper.getByLevel7(lh8);
        System.out.println("ddd"+l);
        return l;
    }

    @Override
    public yfjx7 getByLevel6(String lh7) {
       yfjx7 l7 = yfmapper.getByLevel6(lh7);
        System.out.println(l7);
        return l7;
    }

    @Override
    public yfjx6 getByLevel5(String lh6) {
        yfjx6 l6 = yfmapper.getByLevel5(lh6);
        System.out.println(l6);
        return l6;
    }

    @Override
    public yfjx5 getByLevel4(String lh5) {
        yfjx5 l5 = yfmapper.getByLevel4(lh5);
        System.out.println(l5);
        return l5;
    }

    @Override
    public yfjx4 getByLevel3(String lh4) {
        yfjx4 l4 = yfmapper.getByLevel3(lh4);
        System.out.println(l4);
        return l4;
    }
}
